package com.jmxcfc.blfsc.ninefour.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jmxcfc.blfsc.ninefour.entity.VoiceNotifyRecord;
import com.jmxcfc.blfsc.ninefour.entity.vo.NotifyResponseVo;

/**
 * <p>
 * 94语音回调记录表 服务类
 * ai挂断回调(外呼回调)
 * </p>
 *
 * @author pbs
 * @since 2024-06-24
 */
public interface IVoiceNotifyRecordService extends IService<VoiceNotifyRecord> {

    /**
     * ai挂断回调(外呼回调)
     * @param sign 头部参数:签名
     * @param appKey 头部参数:客户服务key
     * @param timestamp 头部参数:时间戳
     * @param encryptNotifyData 通知数据:加密(需要解密)
     * @return
     */
    NotifyResponseVo voiceNotifyHandler(String sign, String appKey, String timestamp, String encryptNotifyData);

}
